package com.heima.model.article.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Xiao
 * @version 1.0
 * @description ap_collection实体类
 * @date 2021/11/20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("ap_collection")
public class ApCollection implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;//主键
    private Integer entryId;//实体ID
    private Long articleId;//文章ID
    private Boolean type;//点赞内容类型  0文章  1动态
    private Date collectionTime;//创建时间
    private Date publishedTime;//发布时间
    
}
